package com.deviche.view;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

/**
 * 仿抖音
 */
public class DouyinActivity extends AppCompatActivity {

    ViewPager vp_douyin;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_douyin);

        vp_douyin = findViewById(R.id.vp_douyin);

        vp_douyin.setAdapter(new DouyinPagerAdapter(getSupportFragmentManager()));
    }
}
